package engine.newUi 
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	import newx.com.config.StaticIni;
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.text.NxInput;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;
	import newx.com.control.window.NxWindowEvent;
	
	/**
	 * ...
	 * @author WangHaiBo  www.woniu.com
	 * 扫荡设定界面
	 */
	public class WipeOutUI extends BaseUI 
	{
		public var needTime	:NxLabel;
		public var back1		:MovieClip;
		public var back2		:MovieClip;
		public var checkBox	:MovieClip;
		
		public var infoTxt		:NxText;
		public var label1		:NxLabel;
		public var label3		:NxLabel;
		public var label4		:NxLabel;
		public var label5		:NxLabel;
		
		public var timelabel:NxLabel;

		//扫荡目标
		public var aimLabel	:NxLabel;
		//需要的体力
		public var needMp		:NxLabel;
		
		/**产出**/
		public var itemlabel:NxLabel;
		public var title2		:MovieClip;
		//开始扫荡
		public var starBtn		:NxButton;
		//取消扫荡
//		public var endBtn		:NxButton;
		//最大次数
		public var maxBtn		:NxButton;
		public var inputText	:NxInput;
		public var titleLabel2	:NxLabel;
		//精英副本
		public var quintessenceText	:NxText;
		public var npclabel:NxLabel;
		
		public var mc1	:MovieClip;
		public var mc2	:MovieClip;
		public var mc3	:MovieClip;
		public var mc4	:MovieClip;
		public var picmc:NxClip;
		/**打开充值按钮**/
		public var clearBtn:NxButton;
		//扫荡次数加
		public var jiaBtn : NxButton;
		//扫荡次数减
		public var jianBtn : NxButton;
		private static var _self:WipeOutUI;
		public function WipeOutUI() 
		{
		}
		override public function Init():void 
		{
			WipeOutLogic.getInstance().Init();
		}
		public static function getInstance():WipeOutUI
		{
			if (_self == null) 
			{
				_self	=	new WipeOutUI()
			}
			return _self;
		}
		override protected function AfterHide():void 
		{
			WipeOutLogic.getInstance().AfterHide();
		}
		override protected function BeforeShow():void 
		{
			WipeOutLogic.getInstance().BeforeShow();
		}
		
	}

}